<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			function run1(){
				alert("鼠标移入");
			}
			function run2(){
				alert("鼠标移出");
			}
		</script>
	</head>
	<body>
		<input type="text" onmouseover="run1()" />
		<br / >
		<br / >
		<br / >
		<input type="text" onmouseout="run2()" />
		
	</body>
</html>
